package com.vanke.house.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.vanke.house.model.HouseInfo;import org.apache.ibatis.annotations.Param;

/**
 * @author fangyu
 * @version v1.0.0
 * @date 2020/6/19 11:00 上午
 */
public interface HouseInfoMapper extends BaseMapper<HouseInfo> {
    /**
     * 查询房源是否存在
     *
     * @param link 房源链接
     * @return Boolean
     */
    Integer selectByLink(@Param("link") String link);
}